Skip to content

[Layout] Add layout integration#2075

Merged
felixdittrich92 merged 4 commits into
mindee:mainfrom
felixdittrich92:layout-integration
Jun 23, 2026
Merged

[Layout] Add layout integration#2075
felixdittrich92 merged 4 commits into
mindee:mainfrom
felixdittrich92:layout-integration

Conversation

@felixdittrich92

@felixdittrich92 felixdittrich92 commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

This PR:

  • Add layout predictor integration in ocr_predictor
  • Update corresponding tests
  • Update docs

TODO:

  • Add model checkpoints
  • Improve documentation (fine tune and include own layout model)
  • Update README
  • Update demo & API

@felixdittrich92 felixdittrich92 added this to the 1.1.0 milestone Jun 17, 2026
@felixdittrich92 felixdittrich92 self-assigned this Jun 17, 2026
@felixdittrich92 felixdittrich92 added topic: documentation Improvements or additions to documentation module: models Related to doctr.models module: io Related to doctr.io ext: tests Related to tests folder ext: demo Related to demo folder ext: api Related to api folder type: new feature New feature ext: docs Related to docs folder topic: layout detection Related to document layout detection labels Jun 17, 2026
@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.91%. Comparing base (9dbe99c) to head (869af53).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2075      +/-   ##
==========================================
- Coverage   96.94%   96.91%   -0.03%     
==========================================
  Files         156      156              
  Lines        7527     7553      +26     
==========================================
+ Hits         7297     7320      +23     
- Misses        230      233       +3     
Flag Coverage Δ
unittests 96.91% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@felixdittrich92 felixdittrich92 marked this pull request as ready for review June 23, 2026 07:51
@felixdittrich92 felixdittrich92 merged commit cabdc1f into mindee:main Jun 23, 2026
45 of 48 checks passed
@felixdittrich92 felixdittrich92 deleted the layout-integration branch June 23, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ext: api Related to api folder ext: demo Related to demo folder ext: docs Related to docs folder ext: tests Related to tests folder module: io Related to doctr.io module: models Related to doctr.models topic: documentation Improvements or additions to documentation topic: layout detection Related to document layout detection type: new feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant